package com.nine.system.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.nine.common.pojo.User;
import com.nine.system.vo.UserVo;

/**
 * @program: nine-education-parent
 * @author: ♥丁新华
 * @create: 2023-05-22 23:46
 **/

public interface UserService {
    /**
     * 查找姓名 密码
     * @param username
     * @param password
     * @return
     */
    public User findByNameAndPwd(String username, String password);

    /**
     * 分页  模糊查找
     * @param current
     * @param pageSize
     * @param userVo
     * @return
     */

    public Page<User> findUserPage(Integer current, Integer pageSize, UserVo userVo);

    /**
     * 修改状态
     */
    int updateStatus(String id, Integer status);

}
